package com.ruoyi.dynamic.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 动态评论对象 t_user_dynamic_comment
 * 
 * @author DEREK
 * @date 2023-06-19
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_User_dynamic_comment")
public class UserDynamicComment
{

	/** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/** 动态ID */
	@Excel(name = "动态ID")
	private Long dynamicId;

	/** 父评论id */
	@Excel(name = "父评论id")
	private Long parentId;

	/** 评论者ID */
	@Excel(name = "评论者ID")
	private Long userId;

	/** 评论内容 */
	@Excel(name = "评论内容")
	private String content;

	private Date createTime;
	
	@TableField(exist = false)
	private String userName;
	@TableField(exist = false)
	private String dynamicName;
}
